package org.ptkparty.client.request;

import java.util.List;
import java.util.Set;

import org.ptkparty.client.model.ChampionshipProxy;
import org.ptkparty.shared.model.ChampionshipEntity;

import com.google.web.bindery.requestfactory.shared.InstanceRequest;
import com.google.web.bindery.requestfactory.shared.Request;
import com.google.web.bindery.requestfactory.shared.RequestContext;
import com.google.web.bindery.requestfactory.shared.Service;

@Service(ChampionshipEntity.class)
public interface ChampionshipRequest extends RequestContext {

	InstanceRequest<ChampionshipProxy, Void> persist();

	Request<Set<ChampionshipProxy>> getAll();

	Request<Void> save(List<ChampionshipProxy> list);

	InstanceRequest<ChampionshipProxy, Void> remove();

	Request<List<ChampionshipProxy>> getAllForAdmin();

}
